package com.ruoyi.serve.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.product.domain.ProductImage;
import com.ruoyi.product.domain.ProductSkuSpecValue;
import com.ruoyi.product.domain.vo.SkuVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VerInspirationDto {
    private Long id;
    private String name;
    private String url;

    private List<SkuVo> skus;

    @JsonIgnore
    private Long skuId;
    @JsonIgnore
    private Long spuId;
    @JsonIgnore
    private String code;
    @JsonIgnore
    private String categoryId;
    @JsonIgnore
    private String specData;
    @JsonIgnore
    private BigDecimal price;
    @JsonIgnore
    private BigDecimal originalPrice;
    @JsonIgnore
    private BigDecimal costPrice;
    @JsonIgnore
    private Long stock;
    @JsonIgnore
    private Long lowStock;
    @JsonIgnore
    private BigDecimal weight;
    @JsonIgnore
    private BigDecimal volume;
    @JsonIgnore
    private List<ProductImage> productImages;
    @JsonIgnore
    private Long status;
    @JsonIgnore
    private List<String> specNameGroup;
    @JsonIgnore
    private List<String> specValueGroup;
    @JsonIgnore
    private String specNameGroupRaw;
    @JsonIgnore
    private String specValueGroupRaw;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonIgnore
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonIgnore
    private Date updatedAt;
    @JsonIgnore
    private List<String> urls;
    @JsonIgnore
    private String urlsRaw;
    @JsonIgnore
    private List<ProductSkuSpecValue> specValues;
    @JsonIgnore
    private String skuName;
    @JsonIgnore
    private String description;
}
